import request from '@/utils/request'

// 查询批次线信息表列表
export function listCompassBatchLine(query) {
    return request({
        url: '/system/CompassBatchLine/list',
        method: 'get',
        params: query
    })
}

// 查询批次线信息表详细
export function getCompassBatchLine(id) {
    return request({
        url: '/system/CompassBatchLine/' + id,
        method: 'get'
    })
}

// 新增批次线信息表
export function addCompassBatchLine(data) {
    return request({
        url: '/system/CompassBatchLine',
        method: 'post',
        data: data
    })
}

// 修改批次线信息表
export function updateCompassBatchLine(data) {
    return request({
        url: '/system/CompassBatchLine',
        method: 'put',
        data: data
    })
}

// 删除批次线信息表
export function delCompassBatchLine(id) {
    return request({
        url: '/system/CompassBatchLine/' + id,
        method: 'delete'
    })
}

// 导出批次线信息表
export function exportCompassBatchLine(query) {
    return request({
        url: '/system/CompassBatchLine/export',
        method: 'get',
        params: query
    })
}